package com.tianruan.dc.modules.sys.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tianruan.dc.modules.sys.user.entity.db.RoleDO;
import com.tianruan.dc.modules.sys.user.entity.dto.RolePermissionDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper extends BaseMapper<RoleDO> {

    List<RolePermissionDTO> listRolePermission(@Param("role") RoleDO roleDO);

}
